#if !defined(SM__SWAG_H)
#define SM__SWAG_H

#include "swagme.h"
#include "TouchableObject.h"
class Sprite;

class Swag : public TouchableObject {
  public:
    Swag(Sprite* ps, int x, int y, int _pts = 10);
//    Swag(Sprite* ps, int _pts = 10);
//    Swag(int _pts = 10);
    ~Swag();
    int Draw(SDL_Surface *dst, int animSpeed = 0, bool bShadow=false);
    void SetFacing(sm_direction f);
    sm_direction GetFacing();

    // interface function at TouchableObject
    int getY() const { return getBottom(); }
    int getSpeed() const { return 0; }
    sm_cd_object getObjectType() const { return sm_cdo_swag; }

//    int posX;
//    int posY; // current coords of swag
    Sprite *mpSprite;

    int getPoints() const { return mPoints; }
  private:
    static const int FrameCount;
    int FrameCounter;
    int mPoints;
};

#endif // SM__SWAG_H
